
import { createRoot } from 'react-dom/client'
import './index.css'
import { RouterProvider } from 'react-router-dom'
import { Suspense } from 'react';
import './i18n/i18n';
import store from './store/store'
import { Provider } from 'react-redux'
import router from './Router/index'
createRoot(document.getElementById('root')!).render(
  <Provider store={store}>
    <Suspense fallback={<div>loading...</div>}>
      <RouterProvider router={router}></RouterProvider>
    </Suspense>


  </Provider>

)
